import com.excell.support.excellbasic.ExcellSheetBasic;
import com.excell.support.other.AutoWith;
import com.excell.template.example.TestOther;
import com.excell.utils.ExcelPoiUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.io.IOException;

/**
 * @User c.c
 * @Since 2023/4/24
 * @Time 15:43
 * @Description
 */

public class Testall {
  public static void main(String[] args) throws IOException {
    TestOther testOther = new TestOther();
    ExcellSheetBasic<String> stringExcellSheetBasic = testOther.setExcellTitle();
    HSSFWorkbook hssfWorkbook = ExcelPoiUtils.creatExcell(stringExcellSheetBasic, new AutoWith(true, 3), true);
    ExcelPoiUtils.outputExcell(hssfWorkbook,"D:\\tmp","测试.xlxs");
  }

}
